package com.cmse.persistence.enmu;
/**
 * @author wulibin, exceptsky@gmail.com, 2012-3-13 下午5:08:35
 * 
 */
public enum ResourceType {
	MUSIC(1,"music"),
	IMAGE(2,"image"),
	RAR(3,"rar"),
	DOC(4,"doc"),
	XSL(5,"xsl"),
	TXT(6,"txt");

	private int  index;
	private String  name;
	
    private ResourceType(int index, String name) {
    	this.index = index;
    	this.name = name;
    }

	public int getIndex() {
		return index;
	}
	
	public void setIndex(int index) {
		this.index = index;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString(){
		return this.name;
	}
    
}